package com.ruoyi.project.system.info.service;

import com.ruoyi.project.system.function.domain.DetailDB;
import com.ruoyi.project.system.function.domain.OverviewDB;
import com.ruoyi.project.system.info.domain.BaseFamilyInfoManagement;
import com.ruoyi.project.system.info.domain.FormData;
import com.ruoyi.project.system.info.domain.UIData;

import java.util.List;
import java.util.Map;

/**
 * 【请填写功能名称】Service接口
 * 
 * @author ruoyi
 * @date 2023-02-17
 */
public interface IBaseFamilyInfoService
{
    Map<String,Object> echo(String fid,int year);
    OverviewDB selectOverviewDB(String fid,int year);
    List<DetailDB> selectDetailDBList(int id);

    void dataEntry(List<UIData> list, OverviewDB overviewDB,String expense);
    BaseFamilyInfoManagement selectBaseFamilyInfo(Integer id);
    /**
     * 查询【请填写功能名称】
     * 
     * @param fid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    public BaseFamilyInfoManagement selectBaseFamilyInfoById(String fid);

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param baseFamilyInfo 【请填写功能名称】
     * @return 【请填写功能名称】集合
     */
    public List<BaseFamilyInfoManagement> selectBaseFamilyInfoList(BaseFamilyInfoManagement baseFamilyInfo);

    /**
     * 新增【请填写功能名称】
     * 
     * @param baseFamilyInfo 【请填写功能名称】
     * @return 结果
     */
    public int insertBaseFamilyInfo(BaseFamilyInfoManagement baseFamilyInfo);

    /**
     * 修改【请填写功能名称】
     * 
     * @param baseFamilyInfo 【请填写功能名称】
     * @return 结果
     */
    public int updateBaseFamilyInfo(BaseFamilyInfoManagement baseFamilyInfo);

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBaseFamilyInfoByIds(String ids);

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param fid 【请填写功能名称】ID
     * @return 结果
     */
    public int deleteBaseFamilyInfoById(String fid);
}
